﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.ProductionManagement
{
    /// <summary>
    /// 羊只档案表
    /// </summary>
    public class SheepFile : BaseEntity
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int SheepId { get; set; }
        /// <summary>
        /// 可视耳号
        /// </summary>
        public string? Visual { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? Electronic { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public int? Breed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int? Sex { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Dateofbirth { get; set; }
        /// <summary>
        /// 日龄
        /// </summary>
        public string? Ageindays { get; set; }
        /// <summary>
        /// 月龄
        /// </summary>
        public string? Ageofthemoon { get; set; }
        /// <summary>
        /// 在场状态
        /// </summary>
        public string? Presence { get; set; }
        /// <summary>
        /// 阶段
        /// </summary>
        public string? Phase { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public string? Sheeptype { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public int? Field { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public string? Reproductive { get; set; }
        /// <summary>
        /// 是否妊检
        /// </summary>
        public bool? Pregnancy { get; set; }
        /// <summary>
        /// 状态天数
        /// </summary>
        public int? Statusday { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public string? Production { get; set; }
        /// <summary>
        /// 销售等级
        /// </summary>
        public string? Sales { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public string? Gene { get; set; }
        /// <summary>
        /// 出生重
        /// </summary>
        public decimal? Birthweight { get; set; }
        /// <summary>
        /// 断奶重
        /// </summary>

        public decimal? Weaning { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? Weaningdate { get; set; }
        /// <summary>
        /// 断奶日龄
        /// </summary>
        public string? Weaningage { get; set; }
        /// <summary>
        /// 父耳号
        /// </summary>
        public string? Fatherhorn { get; set; }
        /// <summary>
        /// 母耳号
        /// </summary>
        public string? Femalehorn { get; set; }
        /// <summary>
        /// 单位Id(外键)
        /// </summary>
        public int? FlatId { get; set; }
        /// <summary>
        /// 羊场Id(外键)
        /// </summary>
        public int? FarmId { get; set; }
    }
}
